package com.pm.service.negative.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.github.pagehelper.PageInfo;
import com.pm.common.Pages;
import com.pm.entity.po.negative.NegativeSource;
import com.pm.mapper.negative.NegativeSourceMapper;
import com.pm.service.negative.NegativeSourceService;
@Service
public class NegativeSourceServiceImpl implements NegativeSourceService {
    @Autowired
    NegativeSourceMapper negativeSourceMapper;
    @Override
    public Integer add(NegativeSource negativeSource) {
        return null;
    }

    @Override
    public Integer update(NegativeSource negativeSource) {
        return null;
    }

    @Override
    public Integer remove(NegativeSource negativeSource) {
        return null;
    }

    @Override
    public NegativeSource load(NegativeSource negativeSource) {
        return null;
    }

    @Override
    public List<NegativeSource> getList(NegativeSource negativeSource) {
        return null;
    }

    @Override
    public PageInfo<NegativeSource> getListByPage(NegativeSource negativeSource, Pages page) {
        return null;
    }

    @Override
    public List<NegativeSource> selectAllDepartment(Integer id) {

        return negativeSourceMapper.selectAllDepartment(id);
    }

    @Override
    public Boolean deleteSource(Integer id) {
        return negativeSourceMapper.deleteSource(id);
    }

    @Override
    public Boolean updateSource(NegativeSource negativeSource) {
        return negativeSourceMapper.updateSource(negativeSource);
    }

    @Override
    public Integer addSource(NegativeSource negativeSource) {
        return negativeSourceMapper.addSource(negativeSource);
    }

    @Override
    public NegativeSource getSourceId(Integer id) {
        return negativeSourceMapper.getSourceId(id);
    }
}
